Skip to content

Add list_rules: populate quickfix window with all rules#7

Open
samesense wants to merge 1 commit into
mainfrom
claude/rule-picker-LKvkr
Open

Add list_rules: populate quickfix window with all rules#7
samesense wants to merge 1 commit into
mainfrom
claude/rule-picker-LKvkr

Conversation

@samesense

Copy link
Copy Markdown
Owner

M.list_rules() calls ensure_index(), collects every rule and checkpoint
from rule_cache into a quickfix list sorted by file then line number,
and opens the quickfix window. Each entry jumps directly to the rule
definition when selected with .

Returns a WARN notification if no rules are found (empty project or
cache not yet populated).

Suggested keymap: r

https://claude.ai/code/session_019k8BeVivnvcEohfcZMttjZ

M.list_rules() calls ensure_index(), collects every rule and checkpoint
from rule_cache into a quickfix list sorted by file then line number,
and opens the quickfix window. Each entry jumps directly to the rule
definition when selected with <CR>.

Returns a WARN notification if no rules are found (empty project or
cache not yet populated).

Suggested keymap: <Leader>r

https://claude.ai/code/session_019k8BeVivnvcEohfcZMttjZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants